<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>三栏网页宽度自适应方法（二）之margin负值</title>
<link rel="shortcut icon" href="../../zxx_ico.png" />
<style type="text/css">
html,body{margin:0; height:100%;}
#main{width:100%; height:100%; float:left;}
#main #body{margin:0 210px; background:#ffe6b8; height:100%;}
#left,#right{width:200px; height:100%; float:left; background:#a0b3d6;}
#left{margin-left:-100%;}
#right{margin-left:-200px;}
</style>
</head>

<body>
<div id="main">
	<div id="body"></div>
</div>
<div id="left"></div>
<div id="right"></div>
</body>
</html>